import request from '@/utils/request'

const api = {
  getSupplierPageUrl: '/base_supplier/get_supplier_page',
}

// export async function removeDeptApi(params: Map<string, any>) {
//   const res = await request({
//     url: api.removeDeptUrl,
//     method: 'get',
//     params: params,
//   })
//   return res
// }

export async function getSupplierPageApi(params: Map<string, any>) {
  const res = await request({
    url: api.getSupplierPageUrl,
    method: 'post',
    data: params,
  })
  return res
}
